package concurrent.newa;


public class Account {

    private float balance = 1000;

    public float getBalance() {
        return balance;
    }

    public void modify(float difference) {
        float value = this.balance;
        this.balance = value + difference;
    }

}
